<div id="register-modal" class="modal fade" tabindex="-1" role="dialog" data-target=".bs-example-modal-sm">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">用户注册</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group require">
                        <label for="groupname" class="col-sm-2 control-label">昵称</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="regName" name="regName" placeholder="请输入昵称" maxlength="200" required="required" />
                        </div>
                    </div>
                    <div class="form-group require">
                        <label for="groupname" class="col-sm-2 control-label">帐号</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="regAccount" name="regAccount" placeholder="请输入帐号" maxlength="200" required="required" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="groupname" class="col-sm-2 control-label">密码</label>
                        <div class="col-sm-8">
                            <input type="password" class="form-control" id="regPwd" name="regPwd" data-role="tagsinput" placeholder="请输入密码" maxlength="100" required="required" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="groupname" class="col-sm-2 control-label">密码确认</label>
                        <div class="col-sm-8">
                            <input type="password" class="form-control" id="password2 name=" password2 " data-role="tagsinput " placeholder="请确认密码 "  maxlength="100 " required="required"/>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer ">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button id="registerBtn" type="button " class="btn btn-primary">注册</button>
            </div>
        </div>
    </div>
</div>